<extend name="Extends/base"/>
<block name="title">任务赚</block>
<block name="css">
</block>
<block name="body_style"></block>
<block name="body">
    <div class="c-main">
        <div class="rank-head">
            <ul>
                <li data-href='/Task/ranking?type=week' class="jump-href {$type=='week'?'rank-curr':''}">
                    <a href="javascript:;">本周</a>
                </li>
                <li data-href='/Task/ranking?type=day' class="jump-href {$type=='day'?'rank-curr':''}">
                    <a href="javascript:;">今日</a>
                </li>
                <li data-href='/Task/ranking?type=all' class="jump-href {$type=='all'?'rank-curr':''}">
                    <a href="javascript:;">累计</a>
                </li>
            </ul>
        </div>

        <notempty name="third">
            <div class="rank-img">
                <img src="__APPS__/images/rank.png" alt="">
                <div class="rank-portrait">
                    <div class="rank-second"><img src="{$second.photo}"></div>
                    <div class="rank-first"><img src="{$first.photo}"></div>
                    <div class="rank-third"><img src="{$third.photo}"></div>
                </div>
                <div class="rank-img-txt">
                    <div class="txt-zhou">
                        <h4>{$second.name}</h4>
                        <p>{:changePrice($second['sum_income'])}</p>
                    </div>
                    <div class="txt-zhang">
                        <h4>{$first.name}</h4>
                        <p>{:changePrice($first['sum_income'])}</p>
                    </div>
                    <div class="txt-zhen">
                        <h4>{$third.name}</h4>
                        <p>{:changePrice($third['sum_income'])}</p>
                    </div>
                </div>
            </div>
            <else/>
            <div class="no-data">
                <div class="no-dataimg">
                    <img src="__APPS__/images/nodata.png">
                </div>
                <p class="on-datamsg">暂未排名</p>
            </div>
        </notempty>

        <notempty name="list">
            <div class="rank-info">
                <ul>
                    <volist name="list" id="vo">
                        <li>
                            <i>{$i+3}</i>
                            <img src="{$vo.photo}" alt="">
                            <h4>{$vo.name}</h4>
                            <span>{:changePrice($vo['sum_income'])}</span>
                        </li>
                    </volist>
                </ul>
            </div>
        </notempty>

        <assign name="currPageMark" value="rank"/>
        <include file="Common/mainNav"/>

    </div>
</block>
<block name="js">
    <script type="text/javascript">

    </script>
</block>